projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b2e47
)
Remove redundant variable declaration
author
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 10:52:00 +0000
(11:52 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 10:52:00 +0000
(11:52 +0100)
The inner `var` declaration is shadowing the outer one.
gtk/gtkimmodule.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimmodule.c
b/gtk/gtkimmodule.c
index 289cec06a070bc151900594b8bbd637b5d358d8a..d69f9e8915c734d54731804037da1e204654116a 100644
(file)
--- a/
gtk/gtkimmodule.c
+++ b/
gtk/gtkimmodule.c
@@
-374,7
+374,6
@@
gtk_get_im_module_file (void)
if (!result)
{
- const gchar *var;
gchar *path;
var = g_getenv ("GTK_EXE_PREFIX");